package com.employee.service.impl;

import com.employee.mapper.LeaveMapper;
import com.employee.pojo.entry.Leave;
import com.employee.service.LeaveService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @AUTHOR 尹书岿
 * @DATE 2025/1/15 15:38
 * @DESCRIBE
 */
@Service
public class LeaveServiceImpl implements LeaveService {
    @Autowired
    private LeaveMapper leaveMapper;
    @Override
    public List<Leave> getLeaveList() {
        return leaveMapper.getLeaveList();
    }
}
